package site.yunnong.atvris.portal.service;

import site.yunnong.atvris.common.api.Page;
import site.yunnong.atvris.common.dto.CommentDeleteParam;
import site.yunnong.atvris.common.dto.CommentQueryParam;
import site.yunnong.atvris.common.dto.CommentsParam;
import site.yunnong.atvris.dao.domain.Comments;
import site.yunnong.atvris.dao.domain.CommentsExample;
import site.yunnong.atvris.service.vo.CommentCardVO;

/**
 * 动态评论
 *
 * @author zhangjinghao
 * @email jhzhang9102@163.com
 * @date 2021-07-09 23:45:37
 */
public interface CommentsService {

    int addComment(CommentsParam param);

    int delComment(CommentDeleteParam param);

    Page<CommentCardVO> listWithReply(CommentQueryParam param);

    int updateByExampleSelective(Comments newComment, CommentsExample commentsExample);
}

